Configure Description on Port Channel

You can configure description for each XCO port channel when you create or update a port channel. The default value of a port channel “description” is “EFA Port-channel <efa-po-name>”.

About this task

Follow this procedure to configure description on a port channel.

Procedure

  1. Run the following command to configure description when you create a port channel:
    efa tenant po create --name <po-name> --tenant <tenant-name> --description <po-description> 
            --speed <100Mbps|1Gbps|10Gbps|25Gbps|40Gbps|100Gbps> --negotiation <active|passive|static> 
       --port <list-of-po-members> --min-link-count <min-link-count> --number <po-number> --lacp-timeout <short|long>
    
  2. Run the following command to configure description when you update a port channel:
    efa tenant po update --name <po-name> --tenant <tenant-name> 
        --operation <port-add|port-delete|lacp-timeout|description|min-link-count>
        --port <list-of-po-members> --lacp-timeout string <short|long> --min-link-count <min-link-count> 
        --description <po-description>

    The following example shows configuration of description attribute when you create or update a port channel:

    efa tenant po create --name ten1po1 --tenant ten1 --port 10.20.246.15[0/1],10.20.246.16[0/1] --speed 10Gbps --negotiation active --description tenant1po1
    
    efa tenant po create --name ten1po2 --tenant ten1 --port 10.20.246.15[0/2],10.20.246.16[0/2] --speed 10Gbps --negotiation active
    
    efa tenant po update --name ten1po1 --tenant ten1 --operation description --description tenat1po1changed
    

    efa tenant po show --name ten1po1 --tenant ten1 --detail

    efa tenant po show --name ten1po2 --tenant ten1 --detail

    Name            : ten1po1
    Tenant          : ten1
    ID              : 1
    Description     : tenat1po1changed
    Speed           : 10Gbps
    Negotiation     : active
    Min Link Count  : 1
    Lacp Timeout    : long
    Ports           : 10.20.246.15[0/1]
                    : 10.20.246.16[0/1]
    State           : po-created
    Dev State       : provisioned
    App State       : cfg-in-sync
    
    Name            : ten1po2
    Tenant          : ten1
    ID              : 2
    Description     : EFA Port-channel ten1po2
    Speed           : 10Gbps
    Negotiation     : active
    Min Link Count  : 1
    Lacp Timeout    : long
    Ports           : 10.20.246.15[0/2]
                    : 10.20.246.16[0/2]
    State           : po-created
    Dev State       : provisioned
    App State       : cfg-in-sync